package com.uzykj.common.json;

/**
 * editor图片json
 *
 * @author ghostxbh
 */
public class EditorJson {
    private Integer success = 1;
    private String message = "ok";
    private String url = null;


    public EditorJson successJson(String url) {
        this.url = url;
        return this;
    }

    public EditorJson errorJson(String msg) {
        this.success = 0;
        this.message = msg;
        return this;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
